package zhang.com.ssm.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import zhang.com.ssm.po.AuthorInfo;
import zhang.com.ssm.po.AuthorInfoExample;

public interface AuthorInfoMapper {
    int countByExample(AuthorInfoExample example);

    int deleteByExample(AuthorInfoExample example);

    int deleteByPrimaryKey(Integer autId);

    int insert(AuthorInfo record);

    int insertSelective(AuthorInfo record);

    List<AuthorInfo> selectByExample(AuthorInfoExample example);

    AuthorInfo selectByPrimaryKey(Integer autId);

    int updateByExampleSelective(@Param("record") AuthorInfo record, @Param("example") AuthorInfoExample example);

    int updateByExample(@Param("record") AuthorInfo record, @Param("example") AuthorInfoExample example);

    int updateByPrimaryKeySelective(AuthorInfo record);

    int updateByPrimaryKey(AuthorInfo record);
}